How can I find a deactivated object in tree structure?