The WalletHub study didn't just consider crime rates, but also considered natural disasters and financial safety.