             indexToRecent = recentNode.rowIndex - index;
             temp = Math.abs(indexToRecent);
         }
+        
+        lastToIndex = _tail.rowIndex - index;
         
         if (index < _head.rowIndex)
         {

        else // index is after cur.
            insertAfter(cur, newNode);
        
        return newNode;
    }
    

        
        var indexToRecent:int;
        var temp:int;
        var lastToIndex:int;
        var result:GridRowNode = null;
        
        if (recentNode)
