Fixed #2708.