I simplified the problem as I could.
Transaction.find({budget: foundBudget._id}, function(err, foundTrans) { if (err) console.log(err);