Fix calculation of immature balance.