Fix bugs with summing timeframes.
Release 5.0.1.