Corrects order of case-statements