Claire believed Jack Randall was Frank’s direct ancestor (that is what Frank believed) but after the dual with Jamie was left unable to father children. This caused Claire to believe they could change history and Frank wouldn’t be born.
In Edinburgh, Claire discovered Alex Randall and Mary together. Mary confesses to being pregnant with Alex’s child. On Alex’s deathbed he asks Jack to marry Mary and protect her with his name.