This reverts commit c0d6675c84.
The DEG_id_type_any_exists function only takes the original type into
account.
Fix #138548
This reverts commit c0d6675c84.
The DEG_id_type_any_exists function only takes the original type into
account.
Fix #138548