Small fix to the note indexing