@pvmulder To make things less error-prone, why not define this as
```python
secondaryVertexTagInfosV2 = secondaryVertexTagInfos.clone()
secondaryVertexTagInfosV2.trackSelection.qualityClass = cms.string('any')

Just a suggestion.
```