Fix search pattern lowercase