Fixed issue #46.