Fix recursion in finding child operations