[v8] Fix crash when selecting multiple notes