diff --git a/Python/ibmcloudsql/SQLQuery.py b/Python/ibmcloudsql/SQLQuery.py
index <HASH>..<HASH> 100644
--- a/Python/ibmcloudsql/SQLQuery.py
+++ b/Python/ibmcloudsql/SQLQuery.py
@@ -857,7 +857,7 @@ class SQLQuery(COSClient, SQLBuilder, HiveMetastore):
                 )
             )
 
-        if "resultset_location" not in job_details or not job_details["resultset_format"]:
+        if "resultset_location" not in job_details or "resultset_format" not in job_details:
             return None
 
         url_parsed = self.analyze_cos_url(job_details["resultset_location"])
diff --git a/Python/ibmcloudsql/__init__.py b/Python/ibmcloudsql/__init__.py
index <HASH>..<HASH> 100644
--- a/Python/ibmcloudsql/__init__.py
+++ b/Python/ibmcloudsql/__init__.py
@@ -14,7 +14,7 @@
 # limitations under the License.
 # ------------------------------------------------------------------------------
 
-__version__ = "0.5.3"
+__version__ = "0.5.4"
 # flake8: noqa F401
 from .SQLQuery import SQLQuery
 from .sql_query_ts import SQLClientTimeSeries
Fixing the previous improvement :-)