I changed the logic, now machine agent can access any descendant container.