switch if case order

Original order means that the second if actually never gets executed.