I had been trying to write an aggregation pipeline in MongoDB which uses a lookup stage with a sub pipeline. In that pipeline, I am trying to match a field in an array in th