Fix search in not matched elements