There once was a fellow who was curious about his family history, so he paid someone $200 to research his genealogy. After looking at the results, he paid the man another $1,000 to keep quiet about it!
We shouldn’t be too concerned about questionable characters in our family tree. A look at the genealogy of Jesus shows some imperfect people. Abraham lied about his wife. Jacob cheated his brother. David committed adultery. Solomon was a womanizer. Rahab was a prostitute.
You have to get to Jesus before you find anybody who was perfect.
I guess that’s the point.