Fixed indexing of notes