fixed last note not showing edit link in admin