Fixed #2575.