Fixed soft constraint check