The mute check was indeed streamlined in f62539ce5c and we somehow kept some of the old code when merging.
f62539ce5c