Fix toc branch toggling