BUG FIX: Cursor should reset after iteration [closes #15]