Issue #1602. Range query support was added.