Fix bug: You couldn't iterate over an element that had called remove without slice