do the filtering without removing the children