I found the problem. I used a 1st and 2nd ending repeat to do the first two A parts. The first A I entered the chords. The second A I only entered the second ending. When I deleted all the repeats there were no chords in bars 9-14 so I was stuck on the last chord (A7) of bar 8 for bars 9-14. I copied and pasted bars 1-6 into bars 9-14 and THEN executed the first and second endings function. It worked!