Fix bug in DynamicTransformedObjective that repOK() caught.