Implementing search condition behavior.