recovery: improved IdRange class
recovery: remove duplicate keys on hash ring wraparound