Modified SQL query for the pedigree tree to include information from the
questionable table.