Fix depth calculation to ignore transient processes.
Fix depth calculation to ignore transient processes.

ergl/lasp,lasp-lang/lasp,lasp-lang/lasp,ergl/lasp,lasp-lang/lasp,ergl/lasp,lasp-lang/lasp,ergl/lasp