Remove duplicate habtm relationship