when doing range queries within a query_string query, the range terms should only be lowercased if the field is not numeric

fixes #3540