Small fix for customSwitchers plugin