Fix root node highlighting when title is not equal to id