Fix warning about extraneous parens in an if statment