Fix issue #10429, sync the calls to IsConstrained