Changed the way we check for null bytes so the translation succeeds