set snapshot=True to ensure cursor doesn't iterate multiple times over s...

...ame document