Added index to chart_snapshots