Making shard comparison case insensitive in another place.