Fixed Soft constraint one and five logic errors