Parentheses around setter in condition

@jonas054 tried to fix this one myself...fell into a bit of a rabbit hole. Would you take a look?