aggregation having should support between and in