Fixed bug where lookups on ipv6 records was failing