Group membership bug fix