add braces to this if statement

The statement was short enough that dropping the braces made sense, but not any more!