Fixed issue #1323.