Fixed minor issue relating to existing notes and their references.  Also confirmed deletion works.