Fixes #1441.

Fixing issue #1441.