Refactored to first create an object set for the parents, and then use the set of parents to filter the people array for the final step of finding the highest age among them.