Ex-MLA nabbed for cheating