Better handle malformed escaped fragments