fix address ranges for sites with old NetAddr::IP versions, #26868