Original: The spell fails because Harry, not Voldemort, had become the Elder Wand's true master and the wand could not harm its own master.
Simplified: In the next chapter, "The Flaw in the Plan", it is established that Harry, not Voldemort, became the Elder Wand's true master.