Fix the bug：If the family without wife or husband, it will print the same husband or wife as previous family.

The linenum is fixed.