Fix unescaped url fragments (when filtering projects by tag)

When the project tags have a special character in the tag (e.g: OR/M), current implementation is interpreting that as two segments OR and M. This is breaking the tag filter. 
Fixed this issue by encoding the tag before navigating to the selected tag using `encodeURIComponent `

Also fixed a typo in one of the test's expectation.