Fixed the way notes are fetched on init