Remove Unspecified class from terms