fixed crash on next() just after snapshot_iter without iter(...)
Merge pull request #2 from zamotivator/fix_next_crash

fixed crash on next() just after snapshot_iter without iter(...)