Merge "Monotonic flag sets incorrectly in rangelib"