Fixed a problem with search breaking when a search term contained spaces.
Properly fixed search terms breaking the search feature.

Basically, I'm now decoding the URI like I should have done in the beginning.