MODE-2193 Fixed the hasNext() method of child node iteration when ACLs are involved.