Fixed error while deleting any kind of object. Fixes #26
Merge pull request #27 from gwu-libraries/fix-deleting-objects

Fixed error while deleting any kind of object. Fixes #26