Right, so it'd remove 0 and then what was at 1 would now be at 0 and not get processed. You avoid the issue if you process in reverse order.