Use elseif everywhere

Replace the two uses of 'else if' with 'elseif'.