Fix error on destroy.  Closes #15.