Fixes #4966  When API_datatable_default_limit=-1 in the config, 'Export as' should export all rows