Fix handling of overlapping ranges in `number_set_parse'.