Fix bug where `Duration` was logged incorrectly.