Fixed processing of timestamps: added detection of holes in event streams