Issue #407 - Ensure shard index returned by ModShardPolicy is always positive