Fixed processing of >=1,000,000 items.