Index: trunk/ippToPsps/jython/detectionbatch.py
===================================================================
--- trunk/ippToPsps/jython/detectionbatch.py	(revision 31965)
+++ trunk/ippToPsps/jython/detectionbatch.py	(revision 31974)
@@ -611,7 +611,7 @@
 
                 # check we have valid sourceID/imageID pair from the header
-                if self.safeDictionaryAccessWithDefault(header, 'SOURCEID', "0") == "NULL":
+                if self.safeDictionaryAccess(header, 'SOURCEID') == "NULL":
                     continue
-                if self.safeDictionaryAccessWithDefault(header, 'IMAGEID', "0") == "NULL":
+                if self.safeDictionaryAccess(header, 'IMAGEID') == "NULL":
                     continue
 
