Fix bug where new item would be added after non-mutating moves.