Fix in condition for connectMtoM