DDF-696  removed unused variables
DDF-713  added Metacard.EFFECTIVE as alternate field to match on for temporal sorting policy ID