It's looping over the paged set of items instead of all the items in the set.