Fix errors in unsigned math for az-1.