It doesn't work with multiple element like with SiteNavigationElement, it will only detect one element, it takes the first name and url properties.