Fixed overrun when ledger report would expand argument and cmd would get short