Pregnant women who take an epilepsy drug that is also prescribed for migraines may increase the risk of their children having birth defects.