fixes range calculation for generated segment list for SegmentTemplate mpd's