Fixed #23885 -- Handle an empty GET to /search/

https://code.djangoproject.com/ticket/23885