fix(createfam): Correct errors when creating a family without attributes (closes #5033)