Update time interval correctly when switching aggregations

Authored by vkrause on Jul 8 2017, 10:00 AM.