Fixing an index-out-of-bounds error when serialising bad changes

Created by  pmeunier  on January 4, 2021
CIEUBH465IFZXO3YDG7XYHP54NJ4TGVQD47SKNW6P5XM4X7IVNBAC
Change contents