Fix constraints based on attributes

If we pass the constraint, we should not return true: there's more code
to execute!