Fixed #2704.