Changed so index queries and all-node queries use Iterator instead of Iterable
Merge pull request #553 from systay/lazy-idx-all-nodes

Changed so index queries and all-node queries use Iterator instead of Iterable