Fixed a bug with summary tables and main page chart.