See this thread
In my UI, at the top of the page, the thread branch selector shows "< 0 / 2 >". Note that the branch selector of the last user message in the thread now shows "< 5 / 5 >".
Back at the top of the page, click on the right arrow twice, the branch selector now shows "< 2 / 2 >". Note that the branch selector of the last user message in the thread now shows "< 1 / 5 >".
Now go to the last user message in the thread and click the right arrow until it shows "< 5 / 5 >". Now at the top of the page, the branch selector again shows "< 0 / 2 >".
Sorry this is so complicated but I haven't found an easier way of reproducing this issue. Something doesn't seem right with the thread branch logic but I'm not sure what it is.
The thread branch selector showing "< 0 / X >" is unexpected.