IDEX-1217: fix project tree state after opening a project