Fix XOR precedence

XOR should have lower precedence than AND and higher than OR