Fix for create transaction. [skip ci]