The outside parentheses are irrelevant, so aware is removing them. That part makes sense. Maybe it’s just getting confused.
But I also think it would work with no parentheses at all, because the and should be evaluated first before the or.
Find w where a or b or c
Without your outside, parentheses, this is basically what you have. And no parentheses are needed here:
Find w where (a) or (b) or (c)
Find w where a and x or b and y or c and z
This should evaluate with no parentheses, but to be sure it could be rewritten as this:
Find w where (a and x) or (b and y) or (c and z)
Which gets back to my original statement of not having that extra set of outside parentheses