Issue #23268: Fixed bugs in the comparison of ipaddress classes.