Index: trunk/ippMonitor/def/stackInputSkyfile.d
===================================================================
--- trunk/ippMonitor/def/stackInputSkyfile.d	(revision 27892)
+++ trunk/ippMonitor/def/stackInputSkyfile.d	(revision 30989)
@@ -13,4 +13,7 @@
 WHERE camRun.chip_id = chipRun.chip_id
 WHERE chipRun.exp_id = rawExp.exp_id
+
+# if no query restrictions are supplied, we want to limit the query or it is extremely long running:
+UNRESTRICTED AND stackRun.stack_id = 0
 
 ARGS  ARG1  rawImfile.exp_id=$rawExp.exp_id
