Attempt to filter duplicates (currently not working)