Fix duplicate amount label bug

Issue #2274