Fix export data as Excel to support anonymous collection as IEnumerable.