Preferential enharmonisation

Aha! I’ve got it. It seems to be a side-effect of adding Editorial Accidentals to the Tonality System. See my post here.

Once I remove the extra accidentals that I created, the enharmonics work normally.