Cardinality validation error not updating correctly