Fix sign error when checking for max unicode value.