String fix for comparison in IE