Fix transaction deinitialization

We shall not deinitialize uninitialized parts of an array!!!11eleven