fixed bug where the next-range is an exclusion