Following outcry, A level students allowed to retake cancelled exam