fixed callback issue with MongoDB queries for Events