Fix bug when validating assignment id presence for APIv3