transformQuery methods successfully splits a query into parts, using 'AND' and 'OR' delimeters, which connect statements at 0-parentheses nested level ('AND' and 'OR' inside some parenthesized statement are treated as a part of that statement and are not used to split the query)