Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)
Merge pull request #4876 from Snuffleupagus/issue-4875

Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)