Bugfix: correctly detect the toggle command name.