hide hidden groups just like hidden users (#6755)