Fix global constraint application