Fixed 'Bug 15475 - Generate switch cases should add missing cases'