Fix our use of $em_tab_dist after it was changed to 0 for 'turned of'.