Fixed issue #395.