RF-12715: correction of searchForComponentRootOrReturn function