Returns groups for a post if and only if it has type 'group'