Matching duplicates are now working properly