Fix Issue 13382 - [e2ir] compare string to int - leads to ICE in e2ir.c 1902