Fixed CAS bug. CAS value now is now unsigned.