Attempt to fix intermittent NullReferenceException when editing transaction.