Recover lost footnote reference, tweak note to be applicable to both returned and thrown promises