Fix __cmp__ bug in Assign.