Fix delete.
Merge pull request #2 from bhenderson/fix_delete

Fix delete.