Small fix for issue #1006. Resolved.
OOps