Issue #1029: fix incorrectly failing date comparisons when setting patient death date in pedigree