fixes availabilityWindow calculations for SegmentTimeline