fix for secondary vertex tracks in case IVF vertices are used

see also https://github.com/cms-sw/cmssw/pull/5085