Rearranging the problem with the query search

If we change the content of the search inside the text area, and then we
go back to the document lists, the query should go back to the original
one. Fixed