return HttpResponseBadRequest on invalid search - fix