Thanks Dylan Verheul for the report and Anssi Kääriäinen for the review. Backport of 55972ee5 from master.