Added argument validation for GetTerms