That was a flash back scene when terminus originally got taken over, like she told carol. When it was a sanctuary, they got taken over and that scene was just showing that.When did Morgan pop up? I just watched the ending again and no Morgan. It went from Rick editing the sign right to the train car scene when they bring dude's mom back after raping her.
That lady did not make it after carol let in all those walkers, obviously.