removed wrong not while checking if queryset is NOT given