fix Issue 13714 - Assertion failure: '0' on line 2022 in file 'mtype.c'
Merge pull request #4146 from 9rnsr/fix13714

[REG2.066.1] Issue 13714 - Assertion failure: '0' on line 2022 in file 'mtype.c'