Fixed a crash in transaction edit