Issue #917: Exception displayed in the logs when drawing a pedigree
Fixed tests + minor update