Bug? Strange behavior when doing sequential $lookup using array field

I opened a ticket already https://jira.mongodb.org/browse/SERVER-85612, though I’m wondering how much visibility that’s going to get in the short term.

Apparently, if you $lookup on an array field, and that array field is empty, the $lookup will return documents that are missing the foreignField. You can see the issue in this playground example Mongo playground