Fixed some logic bugs in the XmlSiteMapNodeProvider dynamic node processing.