Redmine#4609: explicitly report empty scalars out of range
Merge pull request #1465 from tzz/feature/redmine4609-report-empty-scalar

Redmine#4609: explicitly report empty scalars out of range