KRACOEUS-7073: Changes required to prevent maintenance document STE when user attempts to delete a contact type that is being referenced as a foreign key by another table.