XDR Tautological Compare fix

Unsigned integers will never be negative. Check for potential
underflows before they happen.