Fixed bug when DNS records contain bogus data.