Do not use $constraint twice.