CVX wrong. How can I deal with this problem correctly?

CVX is not “wrong”. Please read this FAQ so you understand why CVX is doing what it does. I do not know if it is possible for CVX to solve your problem.