Fixed a bug in Transactions which caused editing a transaction to crash