Cork manager John Cleary admits his side didn't deserve to beat Dublin in the quarter-final of the All-Ireland Senior Football Championship.