Fixed parenthetical conditional statement