[patch-1] Range filter: support multiple ranges.