Correction for bugs #78.
Corrects error #74.