Remove pagination query for assets if the query is to export to a spreadsheet [fixes #66892630]