fixed bug with removedIndexes

removedIndexes needs to be truncated every time it has been processed.