Fix issue 1763.