So background discussion can be found at
http://docs.codehaus.org/display/XPR/Note+deletion+problem
Deleting a task deletes any notes attached to the project. Should only delete the note attached to the task.
Deleting a story deletes any notes attached to the iteration or project. Should delete the notes attached to the story and any notes attached to any tasks of the story.
Deleting an iteration deletes any notes attached to the project, iterations and stories but leaves notes that were attached to the task. Should delete the notes attached to the iteration and any notes attached to any stories and tasks in the iteration.
Deleting a project deletes all notes (this is correct behavior)