Fixed a bug with url_decode not working on unencoded URLs