error catching..

if no results were returned for a particular domain/ip, it was
producing an error, this update catches that