Bugfix for project tree refresh