[FIX] Genie:  Don't check if unsigned is negative

Compare with zero before decrement, so that zero is a termination value.
(Negative termination values don't work with unsigned integers.)