Quick bugfix for else if