Fix copynpasto/thinko in chars/bytes logic