Fix bug where get_range didn't remove result key prefixes