Avoid error if the request doesn't have HTTP_REFERER