Minor fix to timeframe change of graphs