Bug fixed

The state parameter is now included if it was in the request