Fix bug with unsuported plugins unloading.