Drop debug helper in ESR duplication logic.