Comorbidities known to elevate epilepsy risk , including diabetes , hypertension , head injury , stroke , and cancer , were commonly noted in the COM cohort , which had considerably higher risk of epilepsy than did the control group .