Fix bugs about computing durations in the column view.