bug 5429: balance sheet report sometimes prints lines with zero amounts. Fixed.