Correction of issue

Broken by RestSharp breaking changes