Fix second if-statement.