Index: /trunk/ippTools/src/dettool.c
===================================================================
--- /trunk/ippTools/src/dettool.c	(revision 9393)
+++ /trunk/ippTools/src/dettool.c	(revision 9394)
@@ -4061,8 +4061,8 @@
         "   detResidExp.accept"
         " FROM detRun"
-        " LEFT JOIN detInputExp"
+        " JOIN detInputExp"
         "   ON detRun.position = detInputExp.det_id"
         "   AND detRun.iteration = detInputExp.iteration"
-        " LEFT JOIN detResidExp"
+        " JOIN detResidExp"
         "   ON detRun.position = detResidExp.det_id"
         "   AND detRun.iteration = detResidExp.iteration"
@@ -4070,6 +4070,4 @@
         " WHERE"
         "   detRun.state = 'run'"
-        "   AND detInputExp.exp_tag IS NOT NULL"
-        "   AND detResidExp.accept IS NOT NULL"
         " GROUP BY"
         "   detRun.position,"
