fix MongoCollection::group conditions and return value