Finally corrected useragent check.