Incorrect assignment of the mother of slaves

In the file editFamily.js:

function motherOfTheChildren() {
    ***
    for (const potentialRel of V.slaves) {
      if (isNotMom(potentialRel) && ((potentialRel.actualAge - slave.actualAge) >= potentialRel.pubertyAgeXX) && potentialRel.newGamePlus === 0) {
             ****
        }
    }
    ***
}

must be

if (isNotMom(potentialRel) && ((slave.actualAge - potentialRel.actualAge) >= potentialRel.pubertyAgeXX) && potentialRel.newGamePlus === 0) 

First variant is copy-paste from the function mother(), that is uncorrect. Same with function fatherOfTheChildren().

Edited by Marquis