Fix bug in group bootstrap