Even more fixes. Average balance now should be fine. However, interest
calculations are not right.