New API for ranged queries which support multiple ranges
Multi-range queries. Deprecating old range methoeds.