Fixed issue #51.