allow aggregates in mongo plugin