There currently is a warning before deleting groups. I can’t say exactly how far back in terms of versions that this has been in place, but I think it’s been a while. Could it be that you accidentally also hit ‘yes’ thinking that it was asking about the item delete?
If you can replicate that it doesn’t ask, what version are you using?