Added extra check on getChartConfigById