Fix edge case of amounts.