Fixed #2410.