Minor cleanup of input sequences FSM