Fix transaction array clone bug