Correct functional test issue.

The version filter may end up with the wrong results if a user is able to change the search query before a previous request for filtering has returned.