Fixed: parameters duplicated

The URL parameters were duplicated in some special cases