Fixed #2728.