136d85f:MB-12961 fix bugs in sequence iteration with snapshots