IteratorIterator->current() is supposed to return null after end of iter...

...ator is reached

Fixes #2993