QP now handles trivial queries(no clauses) #126