Bugfix: Remove reference in search tree when deleted in storage.
Merge pull request #33 from thorvaldurhelga/reference_delete_fix

Bugfix: Remove reference in search tree when deleted in storage.