Updated search function.

Searched for term can now be found if it's only in the title or url or
if it's in both.