Fixed case search for subprocesses

If case is not find by process id then it is searched by root process
id.