Issue #907: fixed template loading in pedigrees (restoring overwritten commit 3b4d4e8 for a similar issue #829)