Index: trunk/ippTools/src/dettool.c
===================================================================
--- trunk/ippTools/src/dettool.c	(revision 9283)
+++ trunk/ippTools/src/dettool.c	(revision 9284)
@@ -4022,5 +4022,5 @@
 
     if (config->where) {
-        psString whereClause = psDBGenerateWhereConditionSQL(config->where, NULL);
+        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "detResidExp");
         psStringAppend(&query, " AND %s", whereClause);
         psFree(whereClause);
