Entity duplication removal