Fixing account record write in stock_exchange_insert_money_account_history_item().