I do not see anywhere that you are changing the count or removing items from the collection after a search. Am I missing something or could this be the problem?