Index: /trunk/psphot/src/psphotApResid.c
===================================================================
--- /trunk/psphot/src/psphotApResid.c	(revision 8816)
+++ /trunk/psphot/src/psphotApResid.c	(revision 8817)
@@ -104,8 +104,5 @@
 	// remove ApTrend fit from pmPSFtry
 	psf->ApTrend->coeff[0][0][0][0] = 0;
-    }
-
-    // constant only
-    if (!strcasecmp (ApTrendOption, "CONSTANT")) {
+    } else if (!strcasecmp (ApTrendOption, "CONSTANT")) { // constant only
 	stats->clipIter = 2;
 	pmPSF_MaskApTrend (psf->ApTrend, PM_PSF_CONSTANT);
