Fixes issue #403.
Merge pull request #490 from enthought/bugfix/403

Fixes issue #403.