Fix empty emi blocks.