Fixed issue 1330.