Fixed issue #49.