Fixes issue #1167.
Merge pull request #1173 from AnalyticalGraphicsInc/issue1167

Fixes issue #1167.