Improved autocomplete to work on newly added notes