- Fix a crash when there are no patterns to match
- Make sure that subitems with no matching words get the lowest relevancy on the search tab