Temporary stopgap for an issue where duplicate entries would end up in the query results.