fix for checks of .ipv4_mapped on IPv4 addresses