Fix for bug "Change family members"

Applied fix supplied by jon48 -
https://bugs.launchpad.net/webtrees/+bug/1200031