bug fixes in equivalent class grouping in graph.sql and subclass search in fill_term_category_v2.