diff --git a/music21/stream/base.py b/music21/stream/base.py
index 865ecfdec..9b2427b15 100644
--- a/music21/stream/base.py
+++ b/music21/stream/base.py
@@ -7026,10 +7026,14 @@ class Stream(core.StreamCore, t.Generic[M21ObjType]):
             else:
                 return  # exit
 
-        # need to just get .notesAndRests, as there may be other objects in the Measure
+        # need to just get .notesAndRests with a nonzero duration,
+        # as there may be other objects in the Measure
         # that come before the first Note, such as a SystemLayout object
+        # or there could be ChordSymbols with zero (unrealized) durations
         f = returnObj.flatten()
-        notes_and_rests = f.notesAndRests.stream()
+        notes_and_rests = f.notesAndRests.addFilter(
+            lambda el, iterator: el.quarterLength > 0
+        ).stream()
 
         posConnected = []  # temporary storage for index of tied notes
         posDelete = []  # store deletions to be processed later

diff --git a/music21/stream/tests.py b/music21/stream/tests.py
index 33cff5850..a55b0b66a 100644
--- a/music21/stream/tests.py
+++ b/music21/stream/tests.py
@@ -1549,6 +1549,29 @@ class Test(unittest.TestCase):
             + '<music21.chord.Chord G4 C5>, <music21.chord.Chord C4 F4>)'
         )  # previously was 1 element
 
+    def testStripTiesIgnoresUnrealizedChordSymbol(self):
+        from music21 import harmony
+
+        n0 = note.Note('C')
+        n0.tie = tie.Tie('start')
+        n1 = note.Note('C')
+        n1.tie = tie.Tie('stop')
+
+        # Create ChordSymbol having one pitch only
+        cs0 = harmony.ChordSymbol()
+        cs0.bass('C', allow_add=True)
+        s = Stream()
+        s.insert(0.0, n0)
+        s.insert(1.0, cs0)
+        s.insert(1.0, n1)
+        s.makeNotation(inPlace=True)
+        stripped = s.stripTies(matchByPitch=True)
+
+        self.assertEqual(len(stripped[note.Note]), 1)
+        self.assertEqual(stripped[note.Note].first().quarterLength, 2)
+        self.assertEqual(len(stripped[harmony.ChordSymbol]), 1)
+        self.assertEqual(stripped[harmony.ChordSymbol].first().quarterLength, 0)
+
     def testTwoStreamMethods(self):
         from music21.note import Note
 

stripTies() exception with chord symbols in v7.3.3
<!-- Version of music21:  print(music21.__version__) -->
**music21 version**

Issue is present on `7.3.3`, but not on `'6.7.1'`. Looks like a regression.

**Problem summary**

When calling `.stripTies()` on a score imported from MusicXML, an exception occurs when a tie over a barline has a chord symbol on the "stop" note. E.g. for this score 

![image](https://user-images.githubusercontent.com/369527/167020306-c826a996-34e7-4052-a36e-5dc054c4b3cb.png)

calling `x.stripTies()` fails with:

```
>>> x.stripTies()
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Users/xavriley/opt/anaconda3/envs/qparse/lib/python3.9/site-packages/music21/stream/base.py", line 7126, in stripTies
     p.stripTies(inPlace=True, matchByPitch=matchByPitch)
   File "/Users/xavriley/opt/anaconda3/envs/qparse/lib/python3.9/site-packages/music21/stream/base.py", line 7312, in stripTies
     raise StreamException('aggregated ties have a zero duration sum')
 music21.exceptions21.StreamException: aggregated ties have a zero duration sum
```

Removing the chord symbol in the second bar ("Bb7") allows `stripTies()` to succeed.

**Steps to reproduce**

I did try to reproduce this using tiny notation but as far as I can tell, it only happens with a score from a MusicXML source.

A minimal XML example is available here: https://www.dropbox.com/s/xce206n23by2a3m/stripTiesBug.xml?dl=0. Loading it with

```
from music21 import *
x = converter.parse("/path/to/stripTiesBug.xml")
x.stripTies()
```

is enough to reproduce the issue.

Strangely, the following tinyNotation produces the same stream but *does not* raise an exception.

```
myStream1 = m21.converter.parse('tinynotation: 4/4 C.4 C8 F.4 B-8~ | B-8 B-8 D4 G4 F4')
myStream1.measures(0, None)[0].insert(0, m21.harmony.ChordSymbol('C7'))
myStream1.measures(0, None)[0].insert(2, m21.harmony.ChordSymbol('F7'))
myStream1.measures(0, None)[1].insert(0, m21.harmony.ChordSymbol('B-7'))
myStream1.stripTies()
```

**Expected vs. actual behavior**

`stripTies()` should work when chord symbols are present.

**More information**

As a workaround, removing the chord symbols seems to allow `stripTies()` to work e.g.

```
for c in x.recurse().getElementsByClass(m21.harmony.ChordSymbol):
    x.remove(c, recurse=True)

x.stripTies() # succeeds
```

music21/stream/tests.py::Test::testStripTiesIgnoresUnrealizedChordSymbol
music21/stream/tests.py::Test::testAccumulatedTimeA music21/stream/tests.py::Test::testAccumulatedTimeB music21/stream/tests.py::Test::testActivateVariantsA music21/stream/tests.py::Test::testActivateVariantsB music21/stream/tests.py::Test::testActivateVariantsBySpanA music21/stream/tests.py::Test::testActivateVariantsBySpanB music21/stream/tests.py::Test::testActivateVariantsC music21/stream/tests.py::Test::testActivateVariantsD music21/stream/tests.py::Test::testActivateVariantsE music21/stream/tests.py::Test::testActiveSiteAfterBoolIteration music21/stream/tests.py::Test::testActiveSiteCopiedStreams music21/stream/tests.py::Test::testActiveSiteMangling music21/stream/tests.py::Test::testActiveSites music21/stream/tests.py::Test::testActiveSitesMultiple music21/stream/tests.py::Test::testAddSlurByMelisma music21/stream/tests.py::Test::testAnalyze music21/stream/tests.py::Test::testAppendFails music21/stream/tests.py::Test::testAugmentOrDiminishBasic music21/stream/tests.py::Test::testAugmentOrDiminishCorpus music21/stream/tests.py::Test::testAugmentOrDiminishHighestTimes music21/stream/tests.py::Test::testBestTimeSignature music21/stream/tests.py::Test::testChordifyA music21/stream/tests.py::Test::testChordifyB music21/stream/tests.py::Test::testChordifyC music21/stream/tests.py::Test::testChordifyD music21/stream/tests.py::Test::testChordifyE music21/stream/tests.py::Test::testChordifyF music21/stream/tests.py::Test::testChordifyG music21/stream/tests.py::Test::testChordifyImported music21/stream/tests.py::Test::testChordifyRests music21/stream/tests.py::Test::testChordifyTagPartA music21/stream/tests.py::Test::testChordifyTagPartB music21/stream/tests.py::Test::testClefs music21/stream/tests.py::Test::testContainerHierarchyA music21/stream/tests.py::Test::testContextNestedA music21/stream/tests.py::Test::testContextNestedB music21/stream/tests.py::Test::testContextNestedC music21/stream/tests.py::Test::testContextNestedD music21/stream/tests.py::Test::testCoreGuardBeforeAddElement music21/stream/tests.py::Test::testDeepcopyActiveSite music21/stream/tests.py::Test::testDeepcopySpanners music21/stream/tests.py::Test::testDerivationA music21/stream/tests.py::Test::testDerivationB music21/stream/tests.py::Test::testDerivationC music21/stream/tests.py::Test::testDerivationMethodA music21/stream/tests.py::Test::testDoubleStreamPlacement music21/stream/tests.py::Test::testElements music21/stream/tests.py::Test::testElementsHighestTimeA music21/stream/tests.py::Test::testElementsHighestTimeB music21/stream/tests.py::Test::testElementsHighestTimeC music21/stream/tests.py::Test::testExtendDurationA music21/stream/tests.py::Test::testExtendTiesA music21/stream/tests.py::Test::testExtendTiesB music21/stream/tests.py::Test::testExtractedNoteAssignLyric music21/stream/tests.py::Test::testFinalBarlinePropertyA music21/stream/tests.py::Test::testFinalBarlinePropertyB music21/stream/tests.py::Test::testFindConsecutiveNotes music21/stream/tests.py::Test::testFindGaps music21/stream/tests.py::Test::testFlatCachingA music21/stream/tests.py::Test::testFlatCachingB music21/stream/tests.py::Test::testFlatCachingC music21/stream/tests.py::Test::testFlatSimple music21/stream/tests.py::Test::testFlattenUnnecessaryVoicesA music21/stream/tests.py::Test::testGetElementAfterElement music21/stream/tests.py::Test::testGetElementAtOrBeforeBarline music21/stream/tests.py::Test::testGetElementBeforeOffsetA music21/stream/tests.py::Test::testGetElementBeforeOffsetB music21/stream/tests.py::Test::testGetElementsByContextStream music21/stream/tests.py::Test::testGetElementsByOffsetZeroLength music21/stream/tests.py::Test::testGetInstrumentFromMxl music21/stream/tests.py::Test::testGetInstrumentManual music21/stream/tests.py::Test::testGetKeySignatures music21/stream/tests.py::Test::testGetKeySignaturesThreeMeasures music21/stream/tests.py::Test::testGetTimeSignatures music21/stream/tests.py::Test::testGetVariantsA music21/stream/tests.py::Test::testGraceChords music21/stream/tests.py::Test::testGracesInStream music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeA music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeB music21/stream/tests.py::Test::testHaveAccidentalsBeenMadeInVoices music21/stream/tests.py::Test::testHaveBeamsBeenMadeA music21/stream/tests.py::Test::testHaveBeamsBeenMadeB music21/stream/tests.py::Test::testInsertAndShiftBasic music21/stream/tests.py::Test::testInsertAndShiftMultipleElements music21/stream/tests.py::Test::testInsertAndShiftNoDuration music21/stream/tests.py::Test::testInsertIntoNoteOrChordA music21/stream/tests.py::Test::testInsertIntoNoteOrChordB music21/stream/tests.py::Test::testInvertDiatonicA music21/stream/tests.py::Test::testInvertDiatonicQuickSearch music21/stream/tests.py::Test::testIsFlat music21/stream/tests.py::Test::testIteration music21/stream/tests.py::Test::testMakeAccidentalsA music21/stream/tests.py::Test::testMakeAccidentalsB music21/stream/tests.py::Test::testMakeAccidentalsC music21/stream/tests.py::Test::testMakeAccidentalsD music21/stream/tests.py::Test::testMakeAccidentalsInScore music21/stream/tests.py::Test::testMakeAccidentalsOctaveKS music21/stream/tests.py::Test::testMakeAccidentalsOnChord music21/stream/tests.py::Test::testMakeAccidentalsRespectsDisplayType music21/stream/tests.py::Test::testMakeAccidentalsTies music21/stream/tests.py::Test::testMakeAccidentalsWithKeysInMeasures music21/stream/tests.py::Test::testMakeChordsBuiltA music21/stream/tests.py::Test::testMakeChordsBuiltB music21/stream/tests.py::Test::testMakeChordsBuiltC music21/stream/tests.py::Test::testMakeChordsBuiltD music21/stream/tests.py::Test::testMakeMeasuresInPlace music21/stream/tests.py::Test::testMakeMeasuresLastElementNoDuration music21/stream/tests.py::Test::testMakeMeasuresMeterStream music21/stream/tests.py::Test::testMakeMeasuresTimeSignatures music21/stream/tests.py::Test::testMakeMeasuresWithBarlines music21/stream/tests.py::Test::testMakeNotationA music21/stream/tests.py::Test::testMakeNotationB music21/stream/tests.py::Test::testMakeNotationByMeasuresA music21/stream/tests.py::Test::testMakeNotationByMeasuresB music21/stream/tests.py::Test::testMakeNotationC music21/stream/tests.py::Test::testMakeNotationKeySignatureMultiVoice music21/stream/tests.py::Test::testMakeNotationKeySignatureOneVoice music21/stream/tests.py::Test::testMakeNotationScoreA music21/stream/tests.py::Test::testMakeNotationScoreB music21/stream/tests.py::Test::testMakeNotationScoreC music21/stream/tests.py::Test::testMakeNotationTiesKeyChange music21/stream/tests.py::Test::testMakeNotationTiesKeyless music21/stream/tests.py::Test::testMakeRestsA music21/stream/tests.py::Test::testMakeRestsB music21/stream/tests.py::Test::testMakeRestsByMakingVoices music21/stream/tests.py::Test::testMakeRestsInMeasures music21/stream/tests.py::Test::testMakeRestsInMeasuresWithVoices music21/stream/tests.py::Test::testMakeTies music21/stream/tests.py::Test::testMakeTiesAddNewMeasure music21/stream/tests.py::Test::testMakeTupletBracketsA music21/stream/tests.py::Test::testMakeTupletBracketsB music21/stream/tests.py::Test::testMakeVoicesA music21/stream/tests.py::Test::testMakeVoicesB music21/stream/tests.py::Test::testMeasureAndTieCreation music21/stream/tests.py::Test::testMeasureBarDurationProportion music21/stream/tests.py::Test::testMeasureBarline music21/stream/tests.py::Test::testMeasureGrouping music21/stream/tests.py::Test::testMeasureLayout music21/stream/tests.py::Test::testMeasureOffsetMap music21/stream/tests.py::Test::testMeasureOffsetMapPostTie music21/stream/tests.py::Test::testMeasureRange music21/stream/tests.py::Test::testMeasureStream music21/stream/tests.py::Test::testMeasuresA music21/stream/tests.py::Test::testMeasuresAndMakeMeasures music21/stream/tests.py::Test::testMeasuresB music21/stream/tests.py::Test::testMeasuresC music21/stream/tests.py::Test::testMeasuresSuffix music21/stream/tests.py::Test::testMelodicIntervals music21/stream/tests.py::Test::testMelodicIntervalsB music21/stream/tests.py::Test::testMergeElements music21/stream/tests.py::Test::testMetadataOnStream music21/stream/tests.py::Test::testMidiEventsBuilt music21/stream/tests.py::Test::testMultipartStream music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyA music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyB music21/stream/tests.py::Test::testMusicXMLGenerationViaPropertyC music21/stream/tests.py::Test::testOpusSearch music21/stream/tests.py::Test::testOpusSequence music21/stream/tests.py::Test::testOpusWrite music21/stream/tests.py::Test::testOverlapsA music21/stream/tests.py::Test::testOverlapsB music21/stream/tests.py::Test::testPartDurationA music21/stream/tests.py::Test::testPartDurationB music21/stream/tests.py::Test::testPartsToVoicesA music21/stream/tests.py::Test::testPartsToVoicesB music21/stream/tests.py::Test::testQuantize music21/stream/tests.py::Test::testQuantizeMinimumDuration music21/stream/tests.py::Test::testRecurseA music21/stream/tests.py::Test::testRecurseB music21/stream/tests.py::Test::testRemove music21/stream/tests.py::Test::testRemoveByClass music21/stream/tests.py::Test::testReplace music21/stream/tests.py::Test::testReplaceA1 music21/stream/tests.py::Test::testReplaceB music21/stream/tests.py::Test::testReplaceDerived music21/stream/tests.py::Test::testScaleDurationsBasic music21/stream/tests.py::Test::testScaleOffsetsBasic music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceA music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceB music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceC music21/stream/tests.py::Test::testScaleOffsetsBasicInPlaceD music21/stream/tests.py::Test::testScaleOffsetsNested music21/stream/tests.py::Test::testScoreShowA music21/stream/tests.py::Test::testSecondsMapA music21/stream/tests.py::Test::testSecondsMapB music21/stream/tests.py::Test::testSecondsPropertyA music21/stream/tests.py::Test::testSecondsPropertyB music21/stream/tests.py::Test::testSecondsPropertyC music21/stream/tests.py::Test::testSemiFlatCachingA music21/stream/tests.py::Test::testSetElements music21/stream/tests.py::Test::testSetElementsFromOtherStreamWithEndElements music21/stream/tests.py::Test::testSimpleRecurse music21/stream/tests.py::Test::testSliceAtOffsetsBuilt music21/stream/tests.py::Test::testSliceAtOffsetsImported music21/stream/tests.py::Test::testSliceAtOffsetsSimple music21/stream/tests.py::Test::testSliceByBeatBuilt music21/stream/tests.py::Test::testSliceByBeatImported music21/stream/tests.py::Test::testSliceByGreatestDivisorBuilt music21/stream/tests.py::Test::testSliceByGreatestDivisorImported music21/stream/tests.py::Test::testSliceByQuarterLengthsBuilt music21/stream/tests.py::Test::testSliceByQuarterLengthsImported music21/stream/tests.py::Test::testSort music21/stream/tests.py::Test::testSortAndAutoSort music21/stream/tests.py::Test::testSortingAfterInsertA music21/stream/tests.py::Test::testSpannerTransferA music21/stream/tests.py::Test::testSplitAtQuarterLengthA music21/stream/tests.py::Test::testSplitAtQuarterLengthB music21/stream/tests.py::Test::testSplitAtQuarterLengthC music21/stream/tests.py::Test::testStoreAtEndFailures music21/stream/tests.py::Test::testStreamCopy music21/stream/tests.py::Test::testStreamDuration music21/stream/tests.py::Test::testStreamDurationRecalculated music21/stream/tests.py::Test::testStreamElementsComparison music21/stream/tests.py::Test::testStreamExceptionsOnAssert music21/stream/tests.py::Test::testStreamRecursion music21/stream/tests.py::Test::testStreamSortRecursion music21/stream/tests.py::Test::testStripTiesBuiltA music21/stream/tests.py::Test::testStripTiesBuiltB music21/stream/tests.py::Test::testStripTiesChordMembersAllTied music21/stream/tests.py::Test::testStripTiesChordMembersSomeTied music21/stream/tests.py::Test::testStripTiesChords music21/stream/tests.py::Test::testStripTiesClearBeaming music21/stream/tests.py::Test::testStripTiesComplexTies music21/stream/tests.py::Test::testStripTiesConsecutiveInVoiceNotContainer music21/stream/tests.py::Test::testStripTiesImportedA music21/stream/tests.py::Test::testStripTiesImportedB music21/stream/tests.py::Test::testStripTiesNonMeasureContainers music21/stream/tests.py::Test::testStripTiesReplaceSpannedElements music21/stream/tests.py::Test::testStripTiesScore music21/stream/tests.py::Test::testStripTiesStopTieChordFollowsRest music21/stream/tests.py::Test::testStripTiesUnlinked music21/stream/tests.py::Test::testTemplateAll music21/stream/tests.py::Test::testTransposeByPitchA music21/stream/tests.py::Test::testTransposeByPitchB music21/stream/tests.py::Test::testTransposeByPitchC music21/stream/tests.py::Test::testTransposeScore music21/stream/tests.py::Test::testTwoStreamMethods music21/stream/tests.py::Test::testTwoZeroOffset music21/stream/tests.py::Test::testVoicesA music21/stream/tests.py::Test::testVoicesALonger music21/stream/tests.py::Test::testVoicesB music21/stream/tests.py::Test::testVoicesC music21/stream/tests.py::Test::testVoicesToPartsA music21/stream/tests.py::Test::testVoicesToPartsNonNoteElementPropagation music21/stream/tests.py::Test::testWrite music21/stream/tests.py::Test::testYieldContainers music21/stream/tests.py::Test::test_makeBeams__1_e__after_16th_note music21/stream/tests.py::Test::test_makeBeams__1_e_n_a music21/stream/tests.py::Test::test_makeBeams__all_eighths music21/stream/tests.py::Test::test_makeBeams__all_quarters music21/stream/tests.py::Test::test_makeBeams__eighth_rests_and_eighth music21/stream/tests.py::Test::test_makeBeams__paddingLeft_2_2 music21/stream/tests.py::Test::test_makeBeams__paddingRight music21/stream/tests.py::Test::test_makeBeams__repeated_1_e_a