Fixed #2860.