It enables raid addons, then disables the party addons. If you have, for example, DBM-Core in both groups, it will enable it first and then disable it right after, leaving you with no DBM-Core when the UI reloads. It should disable all the other addon groups first, and then enable the proper group last. This should be true for all of the groups, in case there are conflicting addons in each group, like what I said above.