Fixing mozilla useragent sniffing.