Fixes the request default naming. In case of redirection the name in the stats was different from the URL path in the script.
The name now takes the first URL path instead of the last one.