query parser handles queries with val=null