### Steps to reproduce Create a filter with $and or $or and the corresponding predicates ### Expected behavior Returns the filtered data ### Actual behavior MongoError: $and must be an array