Changed hashing to generate nil for bad/missing ip addresses.