Fixing #890 - decodeURIComponent on search string.

Invoking decodeURIComponent on search string, calls twice to capture %252C case's.

Should the double call be in a utils/helper file instead?