Added a set of brackets to lower if statement.