Fix forgotten bracket - else if was after an else statement