Unset fields if no nested fields are defined