fixed a bug in an if statement related to whether is a group avatar. actually didn't cause issues in code but logical issue