Strengthened validation for HashRing a bit.

Change-Id: Ib0331662c785d806063ca730905dd88b6545d8f0
Merge "Strengthened validation for HashRing a bit."