Hello,

When you merged the collections into one collection, I am assuming you added the category and contract to all your existing indexes and you would have modified the code to include the category and contract in the where clause…

Thanks