NoteSequenceComparator.calculateError() bugfix