Fix transactions with missing versions.