Bug fixes for Stats charts