MAP-762: fix logic for retire.