Fixed bug when constraint values are set to other constraints