Convert communities_members from HABTM.