Change have_subclasses to have_terms