Check if terms exist. See #26