Fixes cmap sanitizer fro #215
Merge pull request #2652 from yurydelendik/issue-215-1

Fixes cmap sanitizer for #215