In Bereishit 28:9, Rashi uses the words "אחות נביות" ("the sister of Nevayot") to calculate how old Yishmael, Eisav, and Yaakov were at the time, and a bunch of other dates.
However, in Shemot 6:23, Rashi says that "אחות נחשון" ("the sister of Nachshon") mean that one should find out who his brother-in-laws will be before getting married.
Why does Rashi interpret these two cases so differently?