Is it the house wiring or problem with electric stove?
I would carefully disassemble the stove, particularly in the sparking areas, and positively find the reason why.  It is not enough to say "Gee, it seems to have stopped sparking now".  

People die from electric stoves with problems - and the last line of defense is a proper grounding system.  That's why I would beware of 3-prong NEMA 10 connections: If the stove requires NEMA 10 or 14 (as most do), convert the receptacle to NEMA 14 by adding a ground wire, and change the appliance cord to NEMA 14 as the manufacturer instructs.