Error while deleting diagnosis-entry

Thanks, this solved it for me. To prevent this from happening in the future, see here: