During an undo, constraint.Ent1 will be NULL, breaking everything.
I have a dumb hack in place to clean it up but it is far from perfect, still breaks on some dupes.
https://github.com/Stooberton/CFW/blob/435108e854d8c0bd5aced005110d8972aacdef53/lua/cfw/core/constraints_sv.lua#L14-L67