Rafael Nadal recovered from accidentally striking himself in the face with his racket to see off David Ferrer 4-6 7-6 6-0 in the Madrid Masters quarters.
Grigor Dimitrov survived cramp and a squandered match point to oust world number one Novak Djokovic 7-6(6) 6-7(8) 6-3 in the second round of the Madrid Masters.