Fix NcGroupContainer pop/remove bugs.