Fixed issue #834.