Adds MongoDBQuery block