ECMS-6272: [Simple Search] Duplicate results when keyword matches file content
- Correct condition for ROOT query