Fix empty amount. Closes #1415
CleanDecimal: do not crash with inputs like NotAvailable
Fix doctest
Add a new "Type" filter