Fixed creation a MANY_MANY relation

Fixed creation a MANY_MANY relation