[FIX] missing field in constraint

8.0 is smarter than 7.0