Fixed #3109.