Fix mechanism for ignoring circular triggers.
Caused a problem that when going back to the previous value with ctrl-z,
the undo changes were not propagated.