Rangeinfo: fix handling of < and >; the handling of _undefined was wrong and we would never add these ranges.