Fixed some API calls on deleted documents

* Delete then Add no longer fails with added=false.
* Delete then Get now returns an error.