Fix calculating custom precise durations.