Change validity constraint