Fix fetching of notes for a user