Extra debug and checks in find_cvterm_by_name()