Discard iteration reference before rename.

Discard iteration reference before rename. See: websharks/quick-cache#288