add range-mode to key-range filter
rename note-range -> keyrange