Fixed #3092.