Now accounts for queries that might begin with an open parenthesis.