Correctly identiy duplicates.