Corrected bug with worksheet index