Corrected major logic error regarding the hierarchy

In the confusion of publishing my code, I changed the depth value when
removing visited depths. This caused the hierarchy to display all sub
suites in reverse order.