Updated code to deal with multiple levels of nested subprocesses. See #9965
Updated handling of route finding for multiple levels of nesting. See #9965
Updated test workflows. see #9965