Fixed #2673.