Changed order of if and case statement for STATE_1SLASH