Fix for Some Bug in IntervalsLists

When you just pick up Notes and Rests, but one of the things has Chords,
the IntervalsLists used to crash, but now it doesn't.