Suppose we have an item with name "echo $1" and the following item key:
Suppose also that the value of the macro is "this,is,a,list". Then, server will show item name as "echo this,is,a,list", whereas frontend will show it as "echo this".
The probable reason is that the server correctly quotes item arguments when expanding macros, yielding the following item key:
However, the frontend apparently yields the following key after macro expansion, which is not correct:
Therefore, the frontend side should be fixed.