                 
             // Quietly ignore invalid indices since they're typically caused
             // by duplicate data items and Halo quietly ignore those
-            if ((insertIndex > 0) && (insertIndex < super.numChildren)) 
+            if ((insertIndex >= 0) && (insertIndex < super.numChildren)) 
                 super.setChildIndex(child, insertIndex);
 
             return child;

            }
            delete itemToRenderer[item];
              
            // Free or remove the IR
            if ((item != elt) && (elt is IDataRenderer))
            {
                elt.visible = false;
                freeRenderers.push(elt);
            }
            else

import mx.core.ILayoutElement;
import mx.core.IVisualElement;
import mx.core.mx_internal;
import mx.core.UIComponent;
import mx.events.CollectionEvent;
import mx.events.CollectionEventKind;
import mx.events.ItemExistenceChangedEvent;
import mx.layout.LayoutBase;
import mx.layout.LayoutElementFactory;



/**
