You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't tested at all, and it therefore doesn't work.
What it needs to do is to traverse all parents then, but return (and mark) only the ones that are actually along the line of first parents, passed down via bitflag.