Index: trunk/psModules/src/camera/pmFPAMosaic.c
===================================================================
--- trunk/psModules/src/camera/pmFPAMosaic.c	(revision 9596)
+++ trunk/psModules/src/camera/pmFPAMosaic.c	(revision 9945)
@@ -211,10 +211,10 @@
     int xBinCell = psMetadataLookupS32(&mdok, cell->concepts, "CELL.XBIN"); // Binning in x
     if (!mdok || xBin <= 0) {
-        psError(PS_ERR_UNKNOWN, true, "CELL.XPARITY hasn't been set for cell.\n");
+        psError(PS_ERR_UNKNOWN, true, "CELL.XBIN hasn't been set for cell.\n");
         return false;
     }
     int yBinCell = psMetadataLookupS32(&mdok, cell->concepts, "CELL.YBIN"); // Binning in y
     if (!mdok || yBin <= 0) {
-        psError(PS_ERR_UNKNOWN, true, "CELL.YPARITY hasn't been set for cell.\n");
+        psError(PS_ERR_UNKNOWN, true, "CELL.YBIN hasn't been set for cell.\n");
         return false;
     }
@@ -623,6 +623,5 @@
         psError(PS_ERR_UNKNOWN, true, "CELL.XBIN for cell is not set.\n");
         good = false;
-    }
-    if (xBin->data.S32[index] < *xBinMin) {
+    } else if (xBin->data.S32[index] < *xBinMin) {
         *xBinMin = xBin->data.S32[index];
     }
@@ -631,6 +630,5 @@
         psError(PS_ERR_UNKNOWN, true, "CELL.YBIN for cell is not set.\n");
         good = false;
-    }
-    if (yBin->data.S32[index] < *yBinMin) {
+    } else if (yBin->data.S32[index] < *yBinMin) {
         *yBinMin = yBin->data.S32[index];
     }
