Remove sorting option in request then upload and keywords are empty.
When loading the search page and query attachments and keywords are empty then query should not be executed. This is not related to metadata retrieval query. Now query is executed and the list of most recent documents are displayed. The issue appears when amount of indexed documents is big and it takes log time to sort documents by date.