Be more careful when lowercasing queries.