correct occurrence generation with null durations