Correct amount when editing. [skip ci]