Fix value 'flagged' for group creation