Made wildcard query case-insensitive