Fixed npe when no parameters on free text search request.