Fix category queryset