Customer balances reports: further fixes and cleanups.