     {
         try
         {
-            if (propertyName == null && dest is Group)
-                return Group(dest).getItemIndex(object);
+            if (propertyName == null && (dest is Group || dest is ItemsComponent))
+                return dest.getItemIndex(object);
             
             if (propertyName == null && dest is Container)
                 return Container(dest).getChildIndex(DisplayObject(object));

                break;
        }    
        
        if ( (propertyName == null || propertyName == "content") && dest is Group)
        {
            addItemsToContentHolder(dest as Group, localItems);
        }
        else if (propertyName == null && dest is Container)
        {

    /**
     *  @private
     */
    protected function addItemsToContentHolder(dest:Object, items:Array):void
    {
        if (startIndex == -1)
            startIndex = dest.numItems;
