Fixed issue #47.