Fix tab renaming in tab tree