adaptive: SegmentList: Fix variable shadowing