Fix bug where NanoLedger crashed on amounts that only contained an assertion
