[#893771] Fix sequencer ended state cases.