Fixing a bug in replacements, recently introduced during a fix of a graph corruption bug

Created by  pmeunier  on January 29, 2021
CUHXXBDZJRSAQD5USKGQACUQL4O7KYDT2T4SB3USCFO3IKMYKFDQC
Change contents