[ticket/10820] Add additional check for IE in condition

PHPBB3-10820