Fixed global CTE calculation refresh bug when deleting target