LegacyRanges: remove unnecessary error checking.