fixes search condition with paren