Fix stbgroups (issue #4426)