fix get_texts_summaries_for_category from returning category nodes