Fix (un)signed type comparisons