In my opinion, because it is known for certain that Joshua Zimri was a descendant of Rabbi Yochanan HASANDLER and from there to Raban Shimon BEN HILLEL, President of the Sanhedrin, and just because only some of the names of the people connecting them are known and not all, it does not have to interrupt the branch.
The feelings of the Jews and their tradition must also be taken into account.