SOCIAL-3652: Group AS Visibility Settings not working - removed duplicates and fixed security set bugs.