#1236088 - GedcomRecord.php function removeLinks errors