[OE-3760] adjusted genetics advanced search to look for patients who have a pedigree and a specific diagnosis either via an episode (principal) or the secondary_diagnosis table.