Fix IsSendAllowed() arithmetic expression