Whois: Remove Debugging code, Fix Empty Query checking