Add parens for ternary operator