fixed transitions for custom instance states, fixes gns-131
Merge pull request #45 from planctechnologies/gns-131

Fix bug where new instances would not build.