Fixed #2574.