Proper search validation.