Fixed a bug with computing factored times.