Fixed: Fatal error when deleting a note in the backend of J.25. Closes #624