Original: And  — so  — but for some mysterious reason, the curse didn't work on Harry.
Simplified: And - so - but for some mysterious reason, the curse didn't work on Harry.