Fix unordered queryset tests