Checked for seenEndFlag before accessing events