Estadísticas de usuario incorrectas en el directorio de usuarios

I’m able to reproduce here on meta

Before refresh

After refresh

The numbers are indeed different but what’s more important is that we’re always doing two requests to the directory_items endpoint (one with, the other without the .json extension) but one of them has incorrect parameters :thinking:

I can’t however reproduce locally, I have two different requests, but they’re on different endpoints (groups/search.json vs directory_items)

EDIT: enabling the user card directory theme component doesn’t change the issue/behavior.