I have a issue with the second $lookup when I am m using pipeline,but with localField and foreignField it works fine.
$lookup
pipeline
localField
foreignField