acu150875 Change legacy_shard field type to optional so it can have a default