Correct ValueSlice ranges