Fix ledger log warning, closes #298