Core loader: Fixed loading issue with nested plugins (fixes #4457)
Merge pull request #4483 from pjackson28/fixv40coreloader

Core loader: Fixed loading issue with nested plugins (fixes #4457)