Fixes a bug which left commas in the URL