Fix bug introduced by recent switch_state changes that could allow undefined or unknown state names to be passed into the start state creator (review by @justinvdm).