[Ide] Fixed type system update race bug.