Regression test for #518
Fix cursor invocation, passing args to underlying method
Merge pull request #518 from yprez/fix-iterator-params

Attempt to fix cursor invocation