Fix prevent issue - Unsigned compared against 0