Fix index syntax for statistical summaries