Handle a weird edge case in Diagnostic#decorate.