Fix Domain Lookup bug

The filter was letting one of the special cases through when it was verified
but still under a different second level domain.
Added exception handeling for IPs that are not in the database.