Replace get_short_preflist with get_index_n

These functions do the same thing and AFAIK the one in KV is more
efficient since it uses the binary ring.