Duplicate ID cache clean-up