Added square braces around conditional.