We often use the note's filePath as a unique identifier, however that can change, and we need to update the caches accordingly. Fixes #97
For long lists of notes this could get very very expensive.