Completed GetKeyRange implementation