enforce attribute Set is scalar or empty