search condition fix.