Fix printing for certain list types with a mu var

Closes PR 14552