You can call `time_series_grids` once after the condition, as both calls are identical for both execution paths