Made method findChildElemByPathEntry more efficient