Fix fatal error in wallet.deleteAddress.