Fix for not showing titles of documents in advanced search