Kurt Maflin was the beneficiary of a stroke of luck in his quarter-final match against Anthony McGill.