Fix if-statement.