fixed bug where get-children of two parents returned the union instead of the intersection