Suppose I have an inelastic head on collision between two idential particles of mass $m$ that come to rest in the centre of momentum frame where relativistic momentum is obviously conserved. If I now switch to the proper frame of one of the particles, the velocity of the other before the collision is $2v\gamma^2$, and after they both travel with velocity $v$.

This would appear to suggest that relativistic momentum isn't conserved in the proper frame of either particle if I write the initial relativistic momentum as $(\gamma_{2v\gamma^2}) (m)(2v\gamma^2)$ and the final as $(\gamma_v) (2m)(v)$. So where is the error in this reasoning?
