Switch to using an array of tags for the filter tags, rather than iterating over the key/values
order tags and tag time series by ALL and then duration