Fix thing that generates links to charts.