Fixed #2725.