Handle empty duration values sensibly.