Fixed duplicate finding, only works on exact matches for now.