Field output functions had missing parenthesis around compiler check.

The output functions were throwing errors due to missing parenthesis. The changed lines were being interpreted as ((a || b) && c) || d instead of ((a || b) && (c || d))