MT#8433 Update contract_balances data during invoices mass generation.