GenerateTerms: Fix ranges and nesting for numeric types
GenerateTerms: Fix ranges and nesting for numeric types

Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand