Remove empty groups when mistakenly created by the user

This affected cases like:

with forge.any_order():
    pass

Which actually should not create anything.