diff --git a/modules/salesforce_pull/src/QueueHandler.php b/modules/salesforce_pull/src/QueueHandler.php
index b42d1571c57ad4f46a66df6603fc891002d0a4a5..b67a0b1333e026987017dfb6bd2add1529548407 100644
--- a/modules/salesforce_pull/src/QueueHandler.php
+++ b/modules/salesforce_pull/src/QueueHandler.php
@@ -190,8 +190,10 @@ class QueueHandler {
     $results = $this->doSfoQuery($mapping, [], $start, $stop);
     if ($results) {
       $this->enqueueAllResults($mapping, $results, $force_pull);
+      return $results->size();
     }
-    return $results->size();
+    // Query failed & no results size can be obtained.
+    return FALSE;
   }
 
   /**