Adding mbg to mongo query.