Undo change to TreeIndex planning that returns NO_PLAN if skip+limit > size.