Issue #24230:change actual account balance calculation