When trying to export (both PDF and excel) a server-side data grid that had been filtered before by the Search injected module, the export returns the top-k records, with k being the number of filtered records, but not being the ones that were actually filtered filtered.
Actual grid without any search:

Grid with search == 'Straw' (search handled on the back-end):

Export result of filtered grid:

The export above is returning the first 4 rows of the initial grid. The expected result for me would be either return all records, since I've added to my export properties the exportType to 'AllPages', or return the actual filtered records.
For reference, I have a similar grid that is client side, where the Search is handled on the frontend and it returns the correct filtered records. I have also trying setting the 'beforePdfExport' to clear the search, but even though it clears it, the result remains the same: It returns the first records from the initial grid.
Is there anything that I'm missing?