Added a missing state transition