Fixed parsing of default cases when not last case