bug fix for restore to take newest note (use filter and max instead of find)
Merge branch 'master' of github.com:encorelab/CommonKnowledge