Fixed pedigree query problem that resulted in false error reporting.