 			
 			//trace("requestHierarchyFromSource("+(subtreeNode?attributeHierarchy.getPathFromNode(subtreeNode).toXMLString():'')+")");
 
-			if (subtreeNode == null || subtreeNode == _attributeHierarchy.value)
+			if (!subtreeNode || subtreeNode == _attributeHierarchy.value)
 			{
 				if (hierarchyURL.value != "" && hierarchyURL.value != null)
 				{

		
		private function generateRootHierarchy(tables:Array, geoms:Array):void
		{
			if (objectWasDisposed(this) || _attributeHierarchy.value != null)
				return;

			var tag:XML;

	
				//trace("handleGetDataServiceMetadata",ObjectUtil.toString(event));

				if (!_attributeHierarchy.value)
					_attributeHierarchy.value = <hierarchy/>;
				
				// add each missing category
