RAZ-2487: Custom View - Search throws an error
- Added missing custom metadata fields to search queries