Fixed an error where trying to set a node to selected before it was loaded caused an error.
Merge branch 'hotfix/index_data'