fix Issue 13353 - [ICE] assertion with is() and templated interface