Fixes the loading state not showing when loading the IDE tree list. This is caused by the state being overwritten with data that is not correct.