Unsetting while iterating is usually to be avoided... Made it so.