fix #24214: fixed previous chord command
Merge pull request #804 from BartlomiejLewandowski/24214-previouschord

fix #24214: fixed previous chord command