Corrected error which would occur if the last molecule had no annotation