duration tracking fix for active-new-active-done flow