Those two cases both work fine for me. Events channels that start/end in events are handled in lines 322-325. Except for events at the ends, I think that because of the way `onsets` and `offsets` are computed, we are guaranteed to have the same number of each.