Fixed issue #248.