Fix division where a duration is the denominator
#29971

pixeltrix wants to merge fix-duration-division into master

We do not currently have an analysis of these two commits