Fixed an off-by-one error

I want to have immutable query objects...
The problem is that after the query for more objects, the cursor is
set to the next element already.