Fixed issue #4345.