diff --git a/src/.VoteStorage.php.swp b/src/.VoteStorage.php.swp
index 39f4b7d..5bf1ff5 100644
Binary files a/src/.VoteStorage.php.swp and b/src/.VoteStorage.php.swp differ
diff --git a/src/VoteStorage.php b/src/VoteStorage.php
index 6a8ee49..821bed4 100644
--- a/src/VoteStorage.php
+++ b/src/VoteStorage.php
@@ -82,6 +82,9 @@ class VoteStorage extends SqlContentEntityStorage implements VoteStorageInterfac
       $entities = $this->loadMultiple($votes);
       $this->delete($entities);
     }
+    else {
+      return;
+    }
     $this->database->delete('votingapi_result')
       ->condition('entity_type', $entity_type_id)
       ->condition('entity_id', $entity_id)