Fixed #1875.