fix Issue 12476 - Assert error in interpret.c:3204
Merge pull request #3433 from 9rnsr/fix12476

Issue 12476 - Assert error in interpret.c:3204