ensuring events aren't emitted during replay