Index: trunk/psModules/src/astrom/pmAstrometryWCS.c
===================================================================
--- trunk/psModules/src/astrom/pmAstrometryWCS.c	(revision 41892)
+++ trunk/psModules/src/astrom/pmAstrometryWCS.c	(revision 41903)
@@ -697,18 +697,9 @@
     }
 
-    // XXX the way this is coded, updates will NOT have the same behavior as with the
-    // original code: the if ADDITIONAL_WCS_ORDERS is not found, the default
-    // should be 0 (or else we need some way to detect the update version)
-
     // the transformation used the region to define the inversion grid
     // the region defines the FPA pixels covered by the tranformation
     psFree (fpa->fromTPA);
-    int additional_orders = pmAstrometryGetExtraOrders();  // This is the number of orders that should be added.
-    bool status = false;
-    int config_additional_orders = psMetadataLookupS32(&status,fpa->analysis, "ADDITIONAL_WCS_ORDERS");
-    if (status) { // If this keyword is found, then use that number of orders instead
-      additional_orders = config_additional_orders; 
-    }
-    fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, region, 50, additional_orders);
+    int ExtraOrders = pmAstrometryGetExtraOrders();  // This is the number of orders that should be added.
+    fpa->fromTPA = psPlaneTransformInvert(NULL, fpa->toTPA, region, 50, ExtraOrders);
     return true;
 }
