Fix ChangeTerms to cope with no unchangable terms