Fixed issue #906.