Fix duration expression.