Fixed bug in the dashboard graph