Wrap conditional assignment in parentheses