Revert "Fix lastN() on IteratorImpl"

This reverts commit 153290f6806a77b479a53901878fda8050b6c251.