Filter out orphaned nodes after filter