Ref updated for v0.7.37: events with duration of zero no longer considered period events