Fixed the bug that FC on editing transaction