operator precedence fix

Sometimes (using the ?: operator) resulted in a wrong operator
precedence.