Fixed #12037.