Fixed #23885 -- Fixed crash on an empty GET to /search/