Fixed bug when enabling or disabling stages instead of categories of plugins.