Fix precedence bug with Or operator