Get hierarchy recursion working