Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 9448)
+++ trunk/ippTools/src/dettool.c	(revision 9450)
@@ -2716,5 +2716,5 @@
 	if (status) {
 	    psMetadataRemoveKey (config->where, "iteration");
-	    psMetadataAddS32 (config->where, PS_LIST_TAIL, "detNormalizedImfile.iteration", 0, "==", iteration);
+	    psMetadataAddS32 (config->where, PS_LIST_TAIL, "iteration", 0, "==", iteration);
 	}
         psString whereClause = psDBGenerateWhereConditionSQL(config->where, "detNormalizedImfile");
