fixes setting segment availability range for SegmentTemplate