Applied minor feedback.
Wrapped the original primary shard failure reason on replica failures when an entire shard group failed.