Changed utils byte comparisons to unsigned