[Admin-panel] Fix pagination for filtered queries