Fixed the start state selection in table generator.