Fixed bug introduced by previous commit: always { bracket } your if statements