Fix mid for IntervalIndex