Adding support for parentheses in WHERE clause