Properly skip adding hash to list if hash generation didn't recognize the hash.