Fix issue #1275 - one more missing check.