md: never advance 'events' counter by more than 1.