Fix another use of the strange switch statement