Fix bug with queryset filters not being applied.