Scripts/Commands: Fix a conversion loss at the mute history command

(cherry picked from commit 5d4f26d82028823f4672e370deaf0f6069fb225f)