What if you assign to an empty group set or empty groups, I see no warnings. There should be a warning telling the instructor that there are no groups at all or that the groups are empty.
Hi there, @giovanni_pineda ...
It sounds like you might want to consider submitting this as a new Feature Idea here in the Community. Here are some documents to get you started: