Make sure terms are not empty.