Avoid searching if an iterator is already positioned correctly.

Some fiddling to avoid const warnings.
Rather than `skipSearch`, the thing that I expected to see was the Iterator passing in a cursor if it is already correctly positioned.

Otherwise, the problem is that we're opening a new cursor here and calling `get_value` on it without searching.

Am I missing something that makes this okay?