fix: make search not to include scope without result

Search by default picks 1st registered scope (Notes) even if it has not results, the fix makes component to pick default scope from those having results

see http://www.getanahita.com/topics/118849-bug-search-module-always-returns-1st-registered-searchable-group