I have a function that connects to a Mongo database, then finds documents in the database that match an array.
The function is actually working fine and the data I wa