Fixed the ancestry builder