Fixes #355

This resolves the warning discussed in issue #355.