#822 - Bug when retrospectively marking a patient as deceased