Bug fix for queries where value=null

This fixes a bug when you have a query of the form:

query.processed = { value: null, op: 'IS NOT' };

Without the change, cnd.value is incorrectly seen as not being valid when set to null.