Fix "Modification of a read-only value" warning on 5.19.4.