Fixed the getMenu function only returning the menu when it belongs to another plugin.