added check for availability of related score data in text search