make sure text search doesn't crash when a resource doesn't have a title