[CM1-975] – Can’t delete the party which was deleted from the case

A party had been added in a new case and then was deleted from the case. The error occurred when the user tried to delete the party in Parties in the setting.

This has been fixed.