Fixed parsing of durations.