Nested UNION/INTERSECT queries with brackets could produce the wrong result if used within a subquery.