Fix unsigned comparison