Improve ledger-report-redo buffer type checking.
Merge commit '689112d3c0ffeb895ad4d8b9f61b50c5f537f0ed'