Fixed #2894.