Third round of optimizations. Shrink rejected model queue by removing duplicates.