Remove last item in group also deletes group node

This commit fixes issue #111