Removing a face unwanted result

I am trying to connect two Gridfinity STEP squares I have mirrored. Removing or moving two faces resuts in a pointy edge. Tried marking lines adjacent faces. Out of ideas.

I think there is something wrong with the STEP. The cup template it works as it should.But would be curious what is wrong with that step