fixed some unsigned int issues

my bad - but shouldn't have affected the behavior - because it would have gotten set for any valid scenario (i.e. when it returns true)