Handle negative and zero durations