Change HABTM origins to HMT categories