removed redundant code from Person::getFamilies()