Speed up the LastCompleteItemAgent2

Removal of old items was looping over the whole SortedList - now we just loop until
the values stop.