Used QuerySet.values_list() for checking for duplicates, rather than loading entire objects into memory