You are the one who liquidated first, which leads to the subsequent closing of positions. Liquidation means going to zero, regardless of where the final position closes. It has nothing to do with you; this is a matter of sequence.