Index: trunk/psModules/src/imcombine/pmSubtractionStamps.c
===================================================================
--- trunk/psModules/src/imcombine/pmSubtractionStamps.c	(revision 27323)
+++ trunk/psModules/src/imcombine/pmSubtractionStamps.c	(revision 27400)
@@ -107,4 +107,8 @@
             if ((image1 && image1->data.F32[y][x] < thresh1) ||
                 (image2 && image2->data.F32[y][x] < thresh2)) {
+                continue;
+            }
+            if ((image1 && image1->data.F32[y][x] > 30000) ||
+                (image2 && image2->data.F32[y][x] > 30000)) {
                 continue;
             }
