Ensuring comments, logged time and attachments are actually deleted when delete button pressed.