Synchronized primary vertex selection between jets and leptons