Bugfix url array parameters

Using this PR I seemed to fix the variable bug.
But, should be tested more.
Fixes #849