Changed to stop duplicate referer logging.