Fixed a bug when userAgent didn't match anything in osCheck.