Fixed a bug when looking up IPv4 addresses in IPv6 tree.

This only happened when there was no IPv4 subtree and the first
bit of the address was 1.