tested indexJ and it seems to work.  Could test it more on empty elements in the tree.