So I am working on filter API for an e-commerce application. I have finished doing filtering data with a query to get the product model and passed the collection to the prod