Fix compiler warning
Fix wallet_account_rename; resolves #1070