Upgrade step 1004: Reset patient and doctor in ARs created from Cases