aggregate works overall but not with maxdistance, limit, skip etc