Fixing a bug for query parsing

enclosing parens checker was broken and evaluates that it doesn't need to enclose in parens if a query like "description in : descriptions ))"