diff --git a/SAS/DataManagement/DataManagementCommon/path.py b/SAS/DataManagement/DataManagementCommon/path.py
index dcca49ed3ce8205dfdd85bc47d55be57a097a672..33ac8797453c1b58262c6fcf6cff36047bc5a5c5 100644
--- a/SAS/DataManagement/DataManagementCommon/path.py
+++ b/SAS/DataManagement/DataManagementCommon/path.py
@@ -113,7 +113,7 @@ class PathResolver:
 
         mom_details = self.momrpc.getProjectDetails(task['mom_id'])
 
-        if not mom_details or task['mom_id'] not in mom_details:
+        if not mom_details or int(task['mom_id']) not in mom_details:
             message = "Could not find mom project details for otdb_id=%s mom_id=%s radb_id=%s" % (task['otdb_id'], task['mom_id'], task['id'])
             logger.error(message)
             return {'found': False, 'message': message, 'path': None}