Steps to reproduce: Create new template. On this template, create 2 user macros/values
Save template. Open it again and change {$MACRO1} to {$MACRO2} and {$MACRO2} to {$MACRO1} Observe error
Result:
Gif:
Expected: working update.