Fix bug related to IE version check