Fixed a bug with the creation of the requests