Fixes for showing timespan for total duration in history.