Moved boolean NOT to the lowest precedence as NOT forces in its own parentheses.