Fix bug with consecutive chords