We now use a KeyValuer for the KeyIndex. It throws an algo.ErrOutOfRange if the value is not an integer.