fixed fetching of posts for groups