Fixed while() condition in string.byte()