GET /rankings: filter option by raid composition returns bad total value


I’ve been playing with the api and I’ve found that the filter option works ok for ilvl, size, duration and date but not for raid composition filters (neither role filters nor specific classes). It’s actually filtering the results but the ‘total’ field returned is not considering the filter.

An example is more clear, get encounters of Archimonde Mythic with 0 healers (there are no logs like that):

  "total": 66613,
  "rankings": []

In the returned value, total should be 0.