Enforce that terms is an array