fix archiving for old log_visit entries having NULL as os_version
fixed tests