Index: trunk/ppStack/src/ppStackMatch.c
===================================================================
--- trunk/ppStack/src/ppStackMatch.c	(revision 16605)
+++ trunk/ppStack/src/ppStackMatch.c	(revision 16834)
@@ -10,5 +10,5 @@
 
 #define ARRAY_BUFFER 16                 // Number to add to array at a time
-
+#define MAG_IGNORE 99.0                 // Ignore these magnitudes --- they're not real!
 
 //#define TESTING
@@ -71,5 +71,5 @@
     for (int i = 0; i < sources->n; i++) {
         pmSource *source = sources->data[i]; // Source of interest
-        if (source->psfMag > maxMag) {
+        if (source->psfMag > maxMag && source->psfMag != MAG_IGNORE) {
             maxMag = source->psfMag;
         }
