Fix unsigned comparision