Indexing the hasChildren