BUG: The 'jobComplete' key may be present but False in the query results

Fixes an issue when looking for 'totalRows' on a large dataset that is not finished in between two subsequent checks.