#146 Fixed an error generating subautomatons.