Added missing constraint for user