Fixed patient search returning results when query was empty