In demo, using iterator's next() method instead of list(iterator)[0]

Refs #18