Fixed a bug with the merging of user activated and dwp activated plugins.