More fixes regarding index(), and removal of root_tracking_cursor around OutCursor in iterative transform.