Fixed #1560.