fix incorrect IPv6 subnet test