"next" and "prev" skipping items after replace

I saw that too