Fixing a bug for query parsing in StringHelper

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