adding groupBy to filters