Fix checking for ie 7 and below.