Fixed bug where two Enter instructions were generated for each procedure