Fixed #2850.