Fixed #1729.