Correct the return value of the `pre_http_request` filter