Returning null from search doctor is not permitted;changed that to empty string