Fixes remove to also remove parent collection if the group is empty