Fixed linking newly created manyTomany entities