Replace the superfluous else if with just an else.