Fix for when there are no family structure and triggers crash