Evaluating a queryset in a boolean context causes is to generate a query
Merge pull request #160 from spectras/boolean_qs_glitch_fix

Check is queryset is none, instead of evaluating it