Fix match rating.

    * Search terms can also match only title and URI.
Removing unnecessary whitespaces.
Searches are not case-sensitive.
Updates for version 4.