Seizure after a colonoscopy?

Hi to you all first time on bare with me..I'm 37 years old had a bad car accident a couple of years ago due to a seizure drove the car for a few minutes having the seizure flipped the car, 4 times walked away ...didn't drive for a year and a half...then on carbatrol, 14oo mg daily two years later after many colonoscopies had 2 seizure the same day of a procedure??? can't figure this out..was it the mixing with Demerol..the sedation meds..antibotics I had just finished if anyone has any suggestions please feel free to voice your opinions.....thanks