Revert "Return the path of the deepest accessible child"

This reverts commit 1bd171cc95244543b80181b30112bfc7bc752dee.