Fixed issue when excluding IPv4/v6 ranges.