KAA-119: Improve event sequence number management