Ensure `term` is not null or empty.