Fix queryset selection