I am working on problem to apply match/filter on objects on the basis of params comming from Frontend. I\'ve tried $match with if else conditions but I am unable to apply ma