Use proper syntax for next iterator value.
Merge pull request #6 from daf-/scanner

Use proper syntax for next iterator value.