Performance: search and remove in one step during dupe detection