Find in files

Find in files seems to have a bug or perhaps it just doesn't perform in the manner to which I am accustomed. When I return to the search window I expect the last search term to be there but instead it seems a random past entry is displayed. Is this how it should work?

thanx