The use of `elseif` here increases readability and doesn't affect at all performance.