nit: rename this variable to filteredChildren