Index: /trunk/Ohana/src/relphot/src/bcatalog.c
===================================================================
--- /trunk/Ohana/src/relphot/src/bcatalog.c	(revision 39340)
+++ /trunk/Ohana/src/relphot/src/bcatalog.c	(revision 39341)
@@ -178,4 +178,7 @@
     }
 
+    NmMin = MIN (Nm, NmMin);
+    NmMax = MAX (Nm, NmMax);
+
     // XXXX test : what checks do I need to make elsewhere to avoid problems here?
     if (Nm <= STAR_TOOFEW) { /* enough measurements total? */
@@ -194,6 +197,4 @@
       continue; 
     }
-    NmMin = MIN (Nm, NmMin);
-    NmMax = MAX (Nm, NmMax);
 
     // for w-band photometry (& other cases?) convert gri photometry
