Scientists say they have discovered a new condition behind one of the most common genetic causes of severe epilepsy in children.